<div class="blazorise-codeblock">
<div class="csharp"><pre>
<span class="atSign">&#64;</span>code{
    <span class="keyword">string</span> selectedTab = <span class="string">&quot;login&quot;</span>;

    <span class="keyword">private</span> Task OnSelectedTabChanged( <span class="keyword">string</span> name )
    {
        selectedTab = name;

        <span class="keyword">return</span> Task.CompletedTask;
    }
}
</pre></div>
</div>
